package net.pet.dal.mapper.admin;

import java.util.List;

import net.pet.dal.mapper.BaseMapper;
import net.pet.dto.admin.AdminUser;
import net.pet.dto.admin.Resource;

public interface ResourceMapper extends BaseMapper<Resource>{
	/**
	 * 查询用户的资源
	 * @param user
	 * @return
	 */
	List<Resource> findByUser(AdminUser user);
}
